Display Name = "Trial Cave B1F"
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    ChangeMapDisplay([0])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 602, 27, 16, 2, 0])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    ControlSwitches([100, 100, 1])
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 287, 303, 367, 2, 0])
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeArmor([1058, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeGold([0, 0, 65000])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["You obtained 65000\\G!"])
    Empty([])

  Page 1
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    ConditionalBranch([12, "unlock_level < 1"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeArmor([1248, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([823, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Soldier>"])
    ShowText(["Rarely, monsters can become chaotic."])
    ShowText(["If that happens, it's certain death..."])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["Rarely? They are always chaotic though..."])
    ShowTextAttributes(["marcellus_fc1", 0, 0, 2])
    ShowText(["\\n<Marcellus>"])
    ShowText(["Since returning to the unified world, I haven't fought any normal monsters."])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Soldier>"])
    ShowText(["You all seem to be doing well living like that..."])
    ShowText(["You must be quite favored by chaos."])
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    ShowTextAttributes(["marcellus_fc1", 0, 0, 2])
    ShowText(["\\n<Marcellus>"])
    ShowText(["This cave... feels nostalgic."])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>"])
    ShowText(["Has father also been to this cave?"])
    ShowTextAttributes(["marcellus_fc1", 0, 0, 2])
    ShowText(["\\n<Marcellus>"])
    ShowText(["Back when he was a fledgling adventurer..."])
    ShowText(["Everyone who sets out from Iliasville comes to this cave."])
    ShowTextAttributes(["rucyfina_fc2", 0, 0, 2])
    ShowText(["\\n<Lucifina>"])
    ShowText(["Hehe..."])
    ShowTextAttributes(["marcellus_fc1", 0, 0, 2])
    ShowText(["\\n<Marcellus>"])
    ShowText(["(Why did I laugh...?"])
    ShowText(["Did I say something bad...?)"])
    ControlSelfSwitch(["A", 0])
    Empty([])

  Page 1
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    PlayME(["RPG::ME(@name=\"lvup\", @pitch=100, @volume=100)"])
    ShowPicture([5, "sys_oyakataf1b", 0, 0, 140, 0, 100, 100, 0, 0])
    ShowPicture([6, "80_oyakata_st10-7", 0, 0, 140, 0, 100, 100, 0, 0])
    ShowPicture([7, "sys_oyakataf1", 0, 0, 140, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 140, 0, 100, 100, 255, 0, 60, false])
    MovePicture([6, nil, 0, 0, 140, 0, 100, 100, 255, 0, 60, false])
    MovePicture([7, nil, 0, 0, 140, 0, 100, 100, 255, 0, 60, false])
    Wait([30])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["You found the mascot boss! \\|\\|"])
    Wait([30])
    ShowTextAttributes(["randolph_fc10", 6, 0, 2])
    ShowText(["\\n<Costume Master>"])
    ShowText(["Gaoo!!"])
    ConditionalBranch([1, 1319, 0, 4, 2])
      ShowTextAttributes(["ruka_fc1", 0, 0, 2])
      ShowText(["\\n<Luka>"])
      ShowText(["I can't keep up with all this..."])
      ShowText(["I wish Papi were here."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 1319, 0, 5, 1])
      ShowTextAttributes(["dragonp_fc1", 0, 0, 2])
      ShowText(["\\n<Papi>"])
      ShowText(["Wow, it's a monster costume!"])
      ShowText(["I'm so jealous!"])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSwitches([3158, 3158, 0])
    ControlVariables([1354, 1354, 1, 0, 1])
    ConditionalBranch([1, 1354, 0, 80, 0])
      Script(["gain_medal(1524)"])
      Empty([])

    BranchEnd([])
    ErasePicture([5])
    ErasePicture([6])
    ErasePicture([7])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Explained the situation to the boss from another world and sent them to the Chaos Forge――"])
    ShowText(["(Number of bosses discovered: \\V[1354])"])
    Wait([30])
    ExitEventProcessing([])
    Empty([])

  Page 1
    Empty([])
